﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="testdis.aspx.cs" Inherits="Site.testdis" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
      <script type="text/javascript">
          var btnDisabled = function () {

              var btn5 = document.getElementById('Button5');
              btn5.disabled = true;
              window.setTimeout(function () {document.forms[0].submit(); }, 3000);
          }
        </script>
</head>
<body>
    <form id="form1" runat="server" >
    <div>
      <asp:button id="Button5" runat="server" OnClientClick="btnDisabled();" CssClass="button2" Text="入库" />
    </div>
    </form>
</body>
</html>
